package edu.bit.water.service;

import edu.bit.water.dao.LabelWaterSavingDao;
import edu.bit.water.dao.NewWasteWaterDao;
import edu.bit.water.entity.LabelWaterSaving;
import edu.bit.water.entity.MetaDischargeMaxPermission;
import edu.bit.water.entity.NewWasteWater;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NewWasteWaterService {
    @Autowired
    private NewWasteWaterDao newWasteWaterDao;

    public List<NewWasteWater> select(int id){
        List<NewWasteWater> list = newWasteWaterDao.select(id);
        return list;
    }

    public List<MetaDischargeMaxPermission> metaDataRetrieve(String companyType, String scope, String level) {
        List<MetaDischargeMaxPermission> list = newWasteWaterDao.metaDataRetrieve(companyType, scope, level);
        return list;
    }
}
